package com.yuncheng.spcyApi.constant.wjml;

import com.yuncheng.spcyApi.constant.common.SpcyConstant;
import org.apache.commons.lang3.StringUtils;

/**
 * 申请事项文件目录-变量
 */
public class WjmlConstant {

    /**
     * 文件模板相关存放相对路径
     */
    // 药品生产-补齐补正材料-模板
//    public final static String YPSC_BQBZCL_TEMPLATE_NAME = "beanTemplate/关于补充资料的通知.doc";
//    public final static String YPSC_BQBZCL_TEMPLATE_NAME = "beanTemplate/gynczldtz.doc";
    public final static String YPSC_BQBZCL_TEMPLATE_NAME = "beanTemplate/gynczldtz.docx";
    //    public final static String YPSC_QYCJ_TEMPLATE_NAME = "beanTemplate/撤件模板.doc";
    public final static String YPSC_QYCJ_TEMPLATE_NAME = "beanTemplate/cjmb.docx";
    public final static String YPSC_JCQXTZTZS_TEMPLATE_NAME = "beanTemplate/jcqxtztzs.docx";

    public final static String Template_File_Wlyctsm = "beanTemplate/无利益冲突声明.docx";
    public final static String Template_File_XcjcJcycns = "beanTemplate/检查员承诺书.docx";

    public final static String Template_File_XcjcHyqdb_html = "beanTemplate/现场检查会议签到html模板.docx";
    public final static String Template_File_Xcjchy_001002 = "beanTemplate/现场检查会议签到表.docx";
    public final static String Template_File_Xcjchy_001002_SC = "beanTemplate/首次现场检查会议签到表.docx";
    public final static String Template_File_Xcjchy_001002_MC = "beanTemplate/末次现场检查会议签到表.docx";

    public final static String Template_File_Xcjcjl_html = "beanTemplate/现场检查纪律html模板.docx";
    public final static String Template_File_Xcjcjl_001002 = "beanTemplate/药品GMP现场检查纪律模板.docx";

    public final static String Template_File_Mdcdcwj = "beanTemplate/满意度调查问卷.docx";
    public final static String Template_File_Export_Wjtxxx = "beanTemplate/填写问卷导出模板.docx";
    public final static String Template_File_Export_DJJBXX = "beanTemplate/填写答卷导出模板.docx";
    public final static String Template_File_Export_SJJBXX = "beanTemplate/基本试卷导出模板.docx";

    public final static String Template_File_Export_XCJCBJ_JCJL = "beanTemplate/现场检查记录合并详情模板.docx";

    /** 获取现场检查签到表(合并)-模板路径 */
    public static String getXcjcqdbTemplateUrl(String fywflcode){
        if (StringUtils.isBlank(fywflcode)){
            return Template_File_Xcjchy_001002;
        }
        if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPSC)){
            return Template_File_Xcjchy_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPZC)){
            return Template_File_Xcjchy_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPJY)){
            return Template_File_Xcjchy_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YLQX)){
            return Template_File_Xcjchy_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_HZP)){
            return Template_File_Xcjchy_001002;
        }

        return Template_File_Xcjchy_001002;
    }

    /** 获取现场检查签到表(首次会议)-模板路径 */
    public static String getXcjcqdbByFirstTemplateUrl(String fywflcode){
        if (StringUtils.isBlank(fywflcode)){
            return Template_File_Xcjchy_001002_SC;
        }
        if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPSC)){
            return Template_File_Xcjchy_001002_SC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPZC)){
            return Template_File_Xcjchy_001002_SC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPJY)){
            return Template_File_Xcjchy_001002_SC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YLQX)){
            return Template_File_Xcjchy_001002_SC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_HZP)){
            return Template_File_Xcjchy_001002_SC;
        }

        return Template_File_Xcjchy_001002_SC;
    }

    /** 获取现场检查签到表(末次会议)-模板路径 */
    public static String getXcjcqdbByEndTemplateUrl(String fywflcode){
        if (StringUtils.isBlank(fywflcode)){
            return Template_File_Xcjchy_001002_MC;
        }
        if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPSC)){
            return Template_File_Xcjchy_001002_MC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPZC)){
            return Template_File_Xcjchy_001002_MC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPJY)){
            return Template_File_Xcjchy_001002_MC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YLQX)){
            return Template_File_Xcjchy_001002_MC;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_HZP)){
            return Template_File_Xcjchy_001002_MC;
        }

        return Template_File_Xcjchy_001002_MC;
    }

    /** 获取无利益冲突声明-模板路径 */
    public static String getWlyctsmTemplateUrl(String fywflcode){
        if (StringUtils.isBlank(fywflcode)){
            return Template_File_Wlyctsm;
        }
        if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPSC)){
            return Template_File_Wlyctsm;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPZC)){
            return Template_File_Wlyctsm;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPJY)){
            return Template_File_Wlyctsm;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YLQX)){
            return Template_File_Wlyctsm;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_HZP)){
            return Template_File_Wlyctsm;
        }

        return Template_File_Wlyctsm;
    }

    /** 获取检查员承诺书-模板路径 */
    public static String getjcycnsTemplateUrl(String fywflcode){
        if (StringUtils.isBlank(fywflcode)){
            return Template_File_XcjcJcycns;
        }
        if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPSC)){
            return Template_File_XcjcJcycns;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPZC)){
            return Template_File_XcjcJcycns;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPJY)){
            return Template_File_XcjcJcycns;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YLQX)){
            return Template_File_XcjcJcycns;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_HZP)){
            return Template_File_XcjcJcycns;
        }

        return Template_File_XcjcJcycns;
    }

    /** 获取现场检查纪律模板-模板路径 */
    public static String getXcjcjlTemplateUrl(String fywflcode){
        if (StringUtils.isBlank(fywflcode)){
            return Template_File_Xcjcjl_001002;
        }
        if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPSC)){
            return Template_File_Xcjcjl_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPZC)){
            return Template_File_Xcjcjl_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YPJY)){
            return Template_File_Xcjcjl_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_YLQX)){
            return Template_File_Xcjcjl_001002;
        }else if (fywflcode.equals(SpcyConstant.YWFL_CODE_HZP)){
            return Template_File_Xcjcjl_001002;
        }

        return Template_File_Xcjcjl_001002;
    }

    /**
     * 目录
     */
    public static String wjml_type_1_xcjccl = "现场检查材料";

    public static String wjml_type_2_zxzzcl = "中心制作材料";

    public static String wjml_type_3_bzcl = "报账材料";

    public static String wjml_type_4_jsspcl = "技术审评材料";

    public static String wjml_type_5_qycl = "企业材料";

    public static String wjml_type_6_bqbzcl = "补齐补正材料";

    /**
     * 药品生产-日常监管文件目录
     * */
    public static String WJML_RCJG_MLLX = "日常检查材料";
    public static String YPSC_RCJG_TCSM = "停产说明";
    public static String YPSC_RCJG_JCBLSMJ = "检查笔录扫描件";
    public static String YPSC_RCJG_JCBGSMJ = "检查报告扫描件";
    public static String YPSC_RCJG_XCZFZ = "现场执法照";

    /**
     * ************************************* 【  查 验 】 *******************************
     */
    public static String qysbcl = "企业申报材料";
    public static String qytjcl = "企业提交材料";

    public static String qtcl = "其他材料";

    public static String bqbzcl = "补齐补正材料";

    public static String bccltzh = "补充资料通知函";

    public static String qycjcl = "撤件材料"; // 退回政务材料
    public static String qycjsqcl = "企业撤件申请材料";

    public static String zgcl = "整改材料";

//    public static String xpxcscydh = "选派现场审查员的函";
    public static String xpxcscydh = "选派专家的函";

    public static String xpxcgcydh = "选派现场观察员的函";

    public static String gcysm = "观察员声明";

    public static String xzjch = "协助检查函";

    public static String qydwjctz = "企业单位检查通知";

//    public static String jcfa = "检查方案";
    public static String jcfa = "审评方案";

    // 药品注册
    public static String ypzc_cyd = "抽样单";
    public static String ypzc_cyfq = "抽样封签";
    public static String ypzc_fhdwtz = "复核单位通知";
    public static String ypzc_zcctz = "注册处通知";
    public static String ypzc_zxzhspyj = "中心综合审评意见";

    // 现场检查纪律
    public static String xcjcjl = "现场检查纪律";

    // 无利益冲突声明
    public static String wlyctsm = "无利益冲突声明";

    // 现场检查检查员承诺书
    public static String xcjcjcycns = "现场检查检查员承诺书";

    // 现场检查会议签到表
    public static String xcjchyqdb = "现场检查会议签到表";

    // 现场检查报告
    public static String xcjcbg = "现场检查报告";
    public static String sycfhxjcbg = "上一次符合性检查报告";

    // 现场检查笔录
    public static String xcjcbl = "现场检查记录"; // 现场检查笔录
    public static String xcjcbl_jcgcjl = "检查过程记录"; // 检查过程记录

    // 现场检查结论
    public static String hzp_xcjcjl = "现场检查结论";

    // 综合评定报告书
    public static String zhpdbgs = "综合评定报告书";

    // 综合评定审核件
    public static String zhpdshj = "审核件";

    // 检查整改材料要求
    public static String jczgclyq = "检查整改材料要求";

    // 整改通知书
    public static String zgtzs = "整改通知书";
    public static String jcqxtztzs = "检查缺陷调整通知书";

    // 整改确认报告书
    public static String zgqrbgs = "整改确认报告书";

    // 现场检查缺陷记录表
    public static String xcjcqxjlb = "现场检查缺陷记录表";

    // 报告真实性核查表
    public static String bgzsxhcb = "报告真实性核查表";

    // 现场检查审核件
    public static String jsscbg = "技术审查报告";

    // 现场检查公告
    public static String xcjcgg = "现场检查公告";

    // 现场检查审核件
    public static String xcjcshj = "现场检查审核件";

    // 现场检查不合格项目
    public static String xcjcbhgxm = "现场检查不合格项目";

    // 客户满意度调查
    public static String ljzlmyddcb = "廉洁自律和满意度调查表";

    // 廉洁自律反馈
    public static String ljzlfk = "廉洁自律反馈表";
    public static String ljzlfk_cj = "廉洁自律反馈表-处级";
    public static String ljzlfk_fcj = "廉洁自律反馈表-非处级";

    // 客户满意度调查
    public static String khmyddc = "客户满意度调查表";
    public static String cjcygzlfzdcb = "促进产业高质量发展调查表";
    public static String jcyqjzysx = "检查要求及注意事项";

    public static String myddcwjQrCode = "满意度调查问卷二维码";
    public static String xcjcMshyQrCode = "末次会议签到码";

    // 风险信息报送说明
    public static String fxxxbssm = "食品药品风险信息报送说明";

    // 现场检查缺陷项目记录表
    public static String xcjcqxxmjlb = "现场检查缺陷项目记录表"; // 旧

    /**
     * ************************************* 【  审 评 】 *******************************
     */

    // 审评方案
    public static String spfa = "审评方案";

    // 技术审评报告
    public static String jsspbg = "技术审评报告";

    // 补正通知
    public static String bztz_YLqx = "补正通知";

    // 函审通知
    public static String hstz = "函审通知";

    // 企业通知书
    public static String qytzs = "企业通知书";

    // 专家审评意见
    public static String zjspyj = "专家审评意见";

    // 注册移送函模板
    public static String yshmb = "移送函";

    // 专家签到表
    public static String zjqdb = "专家签到表";

    // 技术审评意见审批表
    public static String jsspyjspb = "技术审评意见审批表";

    // 补充整改通知
    public static String bztz = "补充整改通知"; // 旧

    // 产品技术要求模板
    public static String cpjsyqmb = "产品技术要求模板"; // 旧

    // 审评查验方案审批表
    public static String spcyfaspb = "审评查验方案审批表"; // 旧

    public static String SIX_TYPE_JCDQKZS = "检查的情况专述";
    public static String SIX_TYPE_ZLGL = "质量管理";
    public static String SIX_TYPE_JGYRY = "机构与人员";
    public static String SIX_TYPE_CFYSS = "厂房与设施";
    public static String SIX_TYPE_SS = "设备";
    public static String SIX_TYPE_WLYCP = "物料与产品";
    public static String SIX_TYPE_QRYYZ = "确认与验证";
    public static String SIX_TYPE_WJQK = "文件情况";
    public static String SIX_TYPE_SCGL = "生产管理";
    public static String SIX_TYPE_ZLKZYZLBZ = "质量控制与质量保证";
    public static String SIX_TYPE_WTSCYWTJY = "委托生产与委托检验";
    public static String SIX_TYPE_CPFYYZH = "产品发运与召回";
    public static String SIX_TYPE_ZJ = "自检";

}
